package com.xr.sunnyday.service;

import com.xr.sunnyday.entity.PageResult;
import com.xr.sunnyday.entity.QueryPageBean;
import com.xr.sunnyday.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    PageResult findPage(QueryPageBean queryPageBean);

    void add(Setmeal setmeal, Integer[] checkgroupIds);

    Setmeal findByid(int setmealid);

    List<Integer> findCheckGroupBySetmel(int setmealid);

    void update(Setmeal setmeal, int[] checkgroupIds);

    void delete(int setmealid);

    List<String> findImgs();

    Setmeal findDetailById(int id);

    List<Setmeal> findAll();

    List<Map<String, Object>> findSetmealCount();

}
